Home:ALL Converter>SyntaxError: Unexpected token {

SyntaxError: Unexpected token {

Ask Time:2014-04-09T19:47:58         Author:marck

Json Formatter

For finding an xpath for Google search, we write the below line in console, but at the time of pressing enter by keyboard it shows syntax error.

$x{*//title[text()='selenium - Google Search']*}

Syntax error which it shows:

SyntaxError: Unexpected token {
message: "Unexpected token {"
stack: (...)
get stack: function () { [native code] }
set stack: function () { [native code] }
__proto__: Error

Author:marck,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/22961570/syntaxerror-unexpected-token
yy